package org.qpcr.community.device.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.hswebframework.web.dict.Dict;
import org.hswebframework.web.dict.I18nEnumDict;

@AllArgsConstructor
@Getter
@Dict("device-state")
public enum SyncState implements I18nEnumDict<String> {
    notSync("未同步"),
    inSync("同步中"),
    hasSync("已同步");

    private final String text;

    @Override
    public String getValue() {
        return name();
    }
}
